package com.example.questionexam.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

/**
 * 答案
 * @TableName answer
 */
@TableName(value ="tb_teacher")
@Data
public class Teacher implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 老师名字
     */
    private String teacher_name;

    /**
     * 老师性别
     */
    private String teacher_sex;

    /**
     * 老师年龄
     */
    private String teacher_year;

    /**
     * 老师增删改查权限
     */
    private String teacher_quanxian;

    /**
     * 老师负责班级
     */
    private String teacher_class;

    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}